package com.abocode.jfaster.web.common.manager;

import com.abocode.jfaster.web.system.bean.ClientBean;

import java.util.Comparator;

public class ClientSort implements Comparator<ClientBean> {
    public int compare(ClientBean prev, ClientBean now) {
        return (int) (now.getLogindatetime().getTime() - prev.getLogindatetime().getTime());
    }
}
